package javatest.nested;

/**
 *
 * @author ivan
 */
public class TestVklad {

    private int value;

    public void doSomething() {
        TestNester tn = new TestNester();
        tn.x += value;
    }

    public static Gavno getGavno() {
        return new Gavno();
    }

    static class TestNester {

        private int x;
    }

    protected static class Gavno {

        private int x = 5;

        @Override
        public String toString() {
            return "x=" + x;
        }
    }
}
